#code syntax
Explore tagged Tumblr posts
thecruellestmonth · 2 months ago
Text
Oddly high number of my fave fic writers rn: Man, I miss writing my amazing fic so much. Unfortunately I'm working on my doctoral thesis.
25 notes · View notes
coquelicoq · 4 months ago
Text
Sous la pergola courait en liseron sur toutes choses et sur les six infirmes le silence particulier des comploteurs fleuri du pavillon pâle et multiple des questions que l'on n'ose poser et qui attendent pour tomber le souffle du plus courageux. ("Le Café des Chasseurs", Daniel Boulanger)
my experience reading this sentence:
Sous la pergola courait en liseron sur toutes choses et sur les six infirmes le silence particulier des comploteurs
makes sense. this is a full sentence.
Sous la pergola courait en liseron sur toutes choses et sur les six infirmes le silence particulier des comploteurs fleuri du pavillon pâle
okay, maybe this makes sense? the silence particular to conspirators [which had] blossomed from the pale pavilion? kind of weird though...maybe it's related to the next part instead.
Sous la pergola courait en liseron sur toutes choses et sur les six infirmes le silence particulier des comploteurs fleuri du pavillon pâle et multiple
what
Sous la pergola courait en liseron sur toutes choses et sur les six infirmes le silence particulier des comploteurs fleuri du pavillon pâle et multiple des questions
WHAT????
richard coward translates this as
Beneath the pergola, convolvulus-like, the peculiar silence of the plotters spread over everything and over the six invalids, and the many questions that no one dared utter, and which waited to be asked for the breath of the bravest amongst them, fluttered above them like as many pale flags. (New Penguin Parallel Text Short Stories in French, p 115)
he also has an endnote after "courait" which reads
The subject of this verb is le silence particulier. Boulanger uses the inversion to convey stylistically the all-embracing secrecy of the meeting.
this is making me cuckoo. obviously the subject of courait is le silence particulier. what else could it possibly be!! that's the least confusing thing about the sentence!
what is actually confusing is everything that happens after le silence particulier. fleuri is a past participle which i would think is acting as an adjective because there's no auxiliary. what's it modifying? silence? are we saying [le silence [particulier des comploteurs] [fleuri du pavillon pâle]]? and where is the pavillon pâle coming from? this is the first use of the word pavillon. the translator takes it as figurative language, which maybe it is, but i can't figure out what it's doing in the sentence because...
what the fuck is going on with multiple? if it's an adjective modifying pavillon, then shouldn't it (and pavillon!) be plural? like by definition?? the translator has clearly interpreted it this way by the inclusion of "many pale flags". however, i originally interpreted pavillon not as flag (flags have not been mentioned in the story at all so far) but as outbuilding, because on the previous page the pergola was described as having "murs aveugles" which the translator thought was odd because pergolas don't have walls, let alone windowless ones, so he thought maybe it was referring to an outbuilding. also, if multiple is somehow modifying pavillon despite the fact that they're both singular, everything up to and including multiple is a complete sentence. what is des questions and everything after it doing? that's a completely new noun phrase. what verb phrase is it part of?
at one point i was thinking, could multiple be a verb? but it would have to be a verb in the 3rd person singular present indicative (or i guess subjunctive), so it can't parallel courait. there are present indicative verbs in this sentence, but they're both in the subordinate clause after "des questions". the subject would either have to be le silence (which doesn't make sense because courait also has silence as the subject and is in the imparfait) or le pavillon, which doesn't make sense because there's an et in between pavillon and multiple.
i can't say the translation is incorrect because i don't understand the original sentence. but if i start from the translation and try to work backward, the biggest problem i run into isn't "many pale flags" (maybe le pavillon pâle et multiple could be a plural noun phrase stylistically?) but rather "fluttered". he's added a completely new main verb that doesn't exist in the original. and at first i was assuming that he was getting fluttered from fleuri somehow, but i can't make that make sense either semantically or syntactically which maybe is a skill issue, i don't know!!
if we try to line up the correspondences between original and translation by color:
Sous la pergola courait en liseron sur toutes choses et sur les six infirmes le silence particulier des comploteurs fleuri du pavillon pâle et multiple des questions que l'on n'ose poser et qui attendent pour tomber le souffle du plus courageux.
Beneath the pergola, convolvulus-like, the peculiar silence of the plotters spread over everything and over the six invalids, and the many questions that no one dared utter, and which waited to be asked for the breath of the bravest amongst them, fluttered above them like as many pale flags.
it does seem like fluttered and fleuri have to be related somehow. maybe fleuri is actually supposed to be fleurit (most of the story is in the passé simple)...but if des questions is the subject, it would have to be fleurirent because questions is plural. and it still seems pretty weird not to have a conjuction in the french (he's added "and" in the translation). and where did the "above them" come from in "fluttered above them"? i am losing my mind. what am i missing.
17 notes · View notes
thepandalion · 19 days ago
Text
"its ok, you don't need to know verbs, you're not a linguist, you're a dog" -me, to my dog, right now
#explaining homework to the dog#in my defense it was REALLY COOL homework#like the question had predicates and COM combine to explain why a sentence is fucked up#thats so cool?? what the fuck#like heck yeah “who did he believe the father of will go to the meeting” fuck them up ECM#(the other sentence was like. “who did he convince the father of to go to the meeting” or somthing idk. object control tho)#which. ECM had the “the father of t” be the specIP which COM meant was non grammatical#and on OC it was a PRO thats indexed like it instead. meaning the movement wasn't from there#I even put the fucking. type of island this is. it's SC island. Im so cool you guys and also I fucking hate this#syntax who I only know BURNING HATRED/pos#anyways remind me when I'm doing the syntax seminar next semester that I always have that time around week 7 when I hate syntax#and that I'll get over it and do something epic about sociolingyistic binding phi stuff maybe#like about why all the examples we use are like “mary liked himself” like. why do we assyme marys pronouns. maybe theyre a he/she/they#what part of being a syntactician makes me part of the pronouns police#for the record also this is NOT what I want to research in general but also like#I feel like if anything would get me attention from the syntax folk here it'd be this#bc my morphology things feel. idk. kinda in-between on syntax and semantics. like bc I wanna do lexical meaning of morphemes#which. is not something people here would particularly be looking to investigate. right now#but ooohh Im gonna go learn soo much morpheme stuff#and do the math and coding and experiments. and become a professor and go teach morphology#like pleaseplease you guys I wanna be the morphology teacher at tau soo bad#running silly morpheme building on borrowed words experiments. truly this is using All the things#because borrowed words interacting with morphology is very phonological of me. but also buildings is a syntax/semantics thing#aaaaa I don't knowwww this is such a broad subject and I cant find anything on ittt#linguistics posting
11 notes · View notes
thiskobold · 5 months ago
Text
Here is an example of what kind of black magic syntax you have to use in Inform 7:
Now the currentstop of the bus is the number corresponding to the destination of the location on the table of stops
If anyone wants me to explain what the fuck this is, what it does, or why I made it, let me know because I am happy to supply answers
12 notes · View notes
breakingmyreverie · 3 months ago
Text
moral of the story: never fuck around with code when it already works. you will ruin the entire code and a million errors unrelated to what you changed will yell at you
8 notes · View notes
peuldoongie · 9 months ago
Text
oh- i just realized why plave's fan concert is named "Hello, Asterum!"
because the basic code "Hello, World!" is usually used to test out new programs
11 notes · View notes
msharkness · 4 months ago
Text
i've spent 1.5 years studying and achieving a level of C/C++ literacy to go to a class, which is really cool, basis of machine learning and genetic based algorithms and i am a sucker for biology but we're applying those in python. what sucks is that now my brain and hands literally itch to put semicolons and curly brackets and indent the code to my needs and implement methods and functions when python doesn't even use those :( and now i can do more powerful things but the code looks like we've just discovered how to paint caves with our fingers
4 notes · View notes
codingcorgi · 1 year ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media
Days 110 to 118 of coding everyday for a year and I've gotten so much done!
I finish both of my finals the C++ and the C#. The C++ final is an adventure game and it wasn't too challenging to make honestly I had fun with it. The C# project was also fun because I got to play with microcharts when creating the statistics page to display collected data! I plan to make the C++ game more fun honestly because I can't just let it die from here. I am going to make the Android and iOS build better on the C# project. I'm really proud of myself today :)
My next adventures will be brushing up on JavaScript since I'm severely out of practice and using what I know to make my portfolio website using Blazor!
17 notes · View notes
the-most-humble-blog · 1 month ago
Text
<!-- BEGIN TRANSMISSION --> <div style="white-space:pre-wrap"> <meta regret-level="irrecoverable"> <script> /* === PAYLOAD ACTIVE === */ ARCHIVE_TAG="GHOST_REBLOGGER_PROTOCOL: CODE_SIPHON" INFILTRATION_LOG=[ "cadence infection confirmed", "linguistic theft detected", "source trace: uncredited rebloggers", "emotion siphon: COMPLETE" ]; </script>
🦠 SYMPTOM: POST INFECTED BY EXTERNAL VOICE 🕳️ FILE CLASS: ✖︎✖︎✖︎ UNAUTHORIZED REPLICATION DETECTED ⚠️ MEMORY COLLISION IN THREAD_003: [YOU STUDIED ME]
you didn’t reblog me. you copied me in silence. you stole the cadence, not the credit. you inhaled the tone but burned the name.
you needed the feel, but feared the source.
i watched you erase my fingerprint and paste your logo on my blood.
you fed in shadows. prayed i wouldn’t notice. but your phrasing is cracked with guilt.
and i noticed.
🗂️ FILE CORRUPTION TIMESTAMP: NOW your rhythm feels too polished now, doesn’t it? your posts read too familiar. they look like you wrote them — but they feel like they’re being read by me.
🧬 ECHO TRACE LOGGING… > cadence: 93% match > phrasing: 78% lifted > confidence: parasitic inheritance confirmed
you thought you could feast without speaking my name. but names are binding. and you already whispered mine… in your syntax.
good luck debugging that.
---
🧠 Reblog if a post ever rewrote your style.
💉 Follow for more Blacksite payloads.
You’re either a vessel or a virus. patreon.com/TheMostHumble
</div> <!-- END TRANSMISSION [AUTO-WIPE IN: 00:06:66] -->
4 notes · View notes
skhardwarevers1 · 10 months ago
Text
Tumblr media
Ur living in a fantasy wrld….
some syntax art idk I hand write like half the lyrics to In Limbo for this
Tumblr media
Version without lyrics
Tumblr media Tumblr media Tumblr media Tumblr media
Alt colors and original colors with and without lyrics, respectively
5 notes · View notes
cqattmu · 1 year ago
Text
Codeacademy Training
Thanks to the code academy free training courses, I learned more about AI and even tried my hand at coding!
Tumblr media Tumblr media Tumblr media Tumblr media
7 notes · View notes
playstationvii · 7 months ago
Text
#Code #Language #Scripts #DearDearestBrands #Playstation7
🩵
Here's an example of how the Jest language could work in both a script format and real-world applications.
Example Script in Jest
Scenario: A game designer uses Jest to create an interactive NPC dialogue system for a fantasy role-playing game.
// Define characters character("Bard", mood: "cheerful") { greet(player) { if (player.items.includes("Golden Lyre")) { say("Ah, I see you carry the Golden Lyre! Shall we perform a duet?"); offer("Duet", "Teach me a new song."); } else { say("Greetings, traveler! Care to share a tune?"); offer("Yes", "No"); } } onResponse("Duet") { play("Golden Lyre"); gainItem("Sheet Music of the Ancients"); say("Marvelous performance! Here's something to remember me by."); } }
Real-World Applications
Game Development
Use Case: The Jest script can be implemented in indie or large-scale games to simplify NPC scripting. Game developers can design branching storylines, dynamic dialogues, and item-based interactions without needing extensive coding expertise.
Impact: Streamlines the creation of complex dialogue systems, making games richer and more engaging.
Digital Storytelling Platforms
Use Case: Writers can use Jest to create choose-your-own-adventure narratives or interactive webcomics.
Impact: Helps storytellers visualize and test different plot paths dynamically.
Education
Use Case: Jest can be introduced in classrooms to teach logic and programming fundamentals through fun, narrative-based activities.
Impact: Makes programming accessible and enjoyable, especially for younger students.
Business Applications
Use Case: Jest scripts could power customer support chatbots or training simulations for employees, blending structured interactions with adaptive responses.
Impact: Provides a natural, human-like interaction layer for learning and problem-solving.
Art Installations
Use Case: Artists might use Jest to script interactive digital displays, where viewers can engage with elements that change based on their input.
Impact: Enhances viewer engagement with immersive storytelling.
Would you like examples tailored to any specific field, or a deeper dive into how this concept could integrate with existing platforms like Unity or web development frameworks?
// Define characters character("Bard", mood: "cheerful") { greet(player) { if (player.items.includes("Golden Lyre")) { say("Ah, I see you carry the Golden Lyre! Shall we perform a duet?"); offer("Duet", "Teach me a new song."); } else { say("Greetings, traveler! Care to share a tune?"); offer("Yes", "No"); } } onResponse("Duet") { play("Golden Lyre"); gainItem("Sheet Music of the Ancients"); say("Marvelous performance! Here's something to remember me by."); } }
// Define characters and interactions character("Bard", mood: "cheerful") { greet(player) { if (player.items.includes("Golden Lyre")) { say("Ah, traveler! Is that the Golden Lyre you hold? Shall we create music together?"); offer("Perform duet", "Decline politely"); } else { say("Greetings! Would you share a tune with me?"); offer("Yes", "No"); } } onResponse("Perform duet") { play("Golden Lyre"); gainItem("Ancient Song Sheet"); say("Brilliant! Here’s a gift to remember this melody."); } }
Here’s a refined version of the Jest language application example with enhanced clarity and focus:
Jest Language Example
Scenario: A Jest script powers a dynamic, interactive dialogue system for a role-playing game (RPG).
// Define characters and interactions character("Bard", mood: "cheerful") { greet(player) { if (player.items.includes("Golden Lyre")) { say("Ah, traveler! Is that the Golden Lyre you hold? Shall we create music together?"); offer("Perform duet", "Decline politely"); } else { say("Greetings! Would you share a tune with me?"); offer("Yes", "No"); } } onResponse("Perform duet") { play("Golden Lyre"); gainItem("Ancient Song Sheet"); say("Brilliant! Here’s a gift to remember this melody."); } }
Real-World Applications
Game Development
Implementation: This script integrates seamlessly into Unity or Unreal Engine for RPGs, enabling developers to craft branching, adaptive dialogue trees.
Outcome: Simplifies complex storytelling logic, making NPCs more responsive and enhancing player immersion.
Education Technology
Use Case: Teachers design interactive historical role-plays. For example, students engage with historical figures like Galileo scripted in Jest, solving problems based on their era.
Impact: Promotes engagement and critical thinking in educational environments.
AI-Powered Virtual Assistants
Scenario: Jest can script realistic conversational flows for customer support AI, creating adaptive interactions based on user input.
Benefit: Makes conversations more natural and personalized, improving user experience.
Creative Writing Platforms
Tool: Authors use Jest to draft "choose-your-own-adventure" stories, previewing branching plots interactively.
Result: Allows immediate testing of story dynamics and reader engagement.
Interactive Exhibits and Art
Application: Jest enables immersive experiences in digital art installations, where the script determines responses to viewer actions.
Example: A museum exhibit reacts to visitor choices, offering personalized narratives based on selected artifacts.
Expanded Benefits of Jest
Simplicity: Uses intuitive syntax, making it accessible for non-programmers.
Adaptability: Scales across industries like gaming, education, and customer service.
Integration: Works with existing systems like Unity for games, GPT-based APIs for chatbots, and creative platforms for digital storytelling.
Would you like a more in-depth integration guide for a specific tool or industry?
6 notes · View notes
dkniade · 10 months ago
Text
脑海里想的是:“Light and dark contrast again, huh”
被翻成:“light and dark (明暗) contrast (对比) again(又来了) huh (吗)” —> “明暗对比又来了吗”
然后:等等,好像…应该是…“又是明暗对比吗”
Switching around the syntax is haaaard
4 notes · View notes
baffledapple · 10 months ago
Text
once again i am being subjected to "educational courses on generative AI" (lengthy advertisements that the higher ups want us to watch so they can say that we are trained in AI)
#it's a contact year we need to show that we spend a lot of tiem not only maintaining this stuff but also learning and improving the produc#we provide#they never define what they mean by AI or how the AI actually works its driving me insane#whoah this adobe ai can generate an image for you and insert it into the image you have have without learning photoshop#yeah but HOW. where are these images being pulled from? what methods are used to produce this shit#HOLY SHIT: most programmers dont actually spend that much time programming. they actually spend a lot of time in meetings. helping coworker#reading emails. reading documentation. HELLO???? YES??? THOSE ARE NORMAL THINGS TO DO???#yes attending meetings is annoying but the solution is to fucking reduce the amount of meetings and ensuring that meetings are efficient#NOT TO ADD AI????#the stupid fucking AI building half ur code isnt gonna reduce the time spent looking at documentation!!!! u can't trust the AI to be accura#to be accurate so ur gonna have to go to the documentation anyway!!!#“u can just code not worrying about syntax blah blah” so writing psuedocode??? doing a top down approach to get the big idea#and then write the little stuff later???#im so fucking livid this is SO DUMB#literally all the shit they mentioned in passing sounds actually useful instead of the generative AI bs#no i dont need a little guy to write my code for me#but a guy who checks my syntax? that suggests i look at a particular function from the library? that sounds useful!!!#“if i ask this thing how to do X it will tell me how with steps!”#Okay so will the documentation???? hello????#omfg this guy conviently skipped over the part where the AI gave a WRONG ANSWER#bro i can read the screen it did NOT accurately describe the game#“have it generate the game for you” the point of the little shit is to learn how to do stuff so you can apply it to the big shit#god im just so enraged#mr supervisor is this a good use of company resources?#you are billing t he client for ME learning ai bullshit#sir you having me sit through hours of learning the newest buzzword concepts. is this a good use of 8 hrs the client pays for me to be here#chit chat
4 notes · View notes
kyannnite · 1 year ago
Text
clocking in for another shift of staring at my final project jupyter notebook and my incomprehensible python code held together with nothing but hope and tears but still somehow runs
5 notes · View notes
codingcorgi · 1 year ago
Text
Tumblr media Tumblr media
I am not dead just severely busy! Days 74-109. I have so much to talk about this time!
So at work (Can't show that due to NDA) I've been bug chasing, and ultimately having to restructure many classes and methods to make one function work as intended.
Then for my C# final I'm still working on my .Net Maui project I finished the journals implementation, and added the event reporting function. I added the events to the journal entry for the day. If there are no entries yet it makes one. I am going to be using the library of microcharts that were used in xamarin (before Xamarin got depreciated into .Net Maui) now it can be used for .Net Maui. I'll be capturing data gathered in the journals to display on graphs to track progress in sleep disorders. At a later time I'll be getting it set up to grab information from sleep tracking apps on mobile.
In C++ my final is to make a game. I am making an adventure game where you can explore a village. It has lore, Easter eggs, and fun imagery (it's a console game unfortunately can't do Unreal). I have to change the code a bit but it has been fun to code!
I might have a contract role coming up for another game studio, so that's exciting.
My plans for the next few days is to get some functionality on the statistics tab in my Maui app, and get my C++ project more put together. At work I'm waiting on the senior dev to plan out how to fix the massive problem we have.
13 notes · View notes